Simple_History\Helpers C

Total Complexity 103
Dependencies 7
Dependents 40
Total lines 1,234
Lines of code 530
Logical lines of code 245
Comment lines 564
Methods 44
Properties 0

Methods 44

Method Rating Maintainability Complexity Lines of code
text_diff()
A
41 13 55
is_on_our_own_pages()
A
54 14 19
get_num_events_per_day_last_n_days()
S
45 4 51
interpolate()
S
56 5 19
get_callable_name()
S
58 5 15
get_event_ip_number_headers()
S
56 4 19
privacy_anonymize_ip()
S
56 4 19
get_current_screen()
S
56 3 20
get_db_table_stats()
S
53 2 26
get_num_events_last_n_days()
S
53 2 23
get_unique_events_for_days()
S
55 2 21
get_settings_field_title_output()
S
58 2 19
get_settings_section_title_output()
S
58 2 19
required_tables_exist()
S
56 2 19
get_cache_incrementor()
S
65 3 9
disable_taxonomy_log()
S
63 2 12
add_settings_section()
S
61 2 12
sanitize_checkbox_input()
S
78 2 3
is_plugin_active()
S
70 2 6
get_ip_number_header_names()
S
61 1 15
dev_mode_is_enabled()
S
78 2 3
log_debug_is_enabled()
S
78 2 3
json_encode()
S
72 2 5
clear_log()
S
59 1 14
get_header_add_ons_link()
S
65 1 11
get_view_settings_capability()
S
70 1 6
get_view_history_capability()
S
70 1 6
clear_cache()
S
80 1 3
db_has_data()
S
66 1 8
setting_show_on_dashboard()
S
72 1 5
setting_show_as_page()
S
72 1 5
is_valid_public_ip()
S
69 1 7
get_clear_history_interval()
S
70 1 6
get_settings_page_tab_url()
S
72 1 5
user_can_clear_log()
S
79 1 3
get_pager_size_dashboard()
S
70 1 6
get_pager_size()
S
72 1 5
get_settings_page_sub_tab_url()
S
72 1 5
ends_with()
S
78 1 3
get_valid_ip_address_from_anonymized()
S
75 1 4
get_cache_group()
S
79 1 3
camel_case_to_snake_case()
S
78 1 3
get_avatar()
S
67 1 7
get_class_short_name()
S
77 1 3